.class Lcom/xingbook/group/view/e;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/xingbook/group/view/PublishRelativeLayout;


# direct methods
.method constructor <init>(Lcom/xingbook/group/view/PublishRelativeLayout;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/group/view/e;->a:Lcom/xingbook/group/view/PublishRelativeLayout;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 3

    iget-object v0, p0, Lcom/xingbook/group/view/e;->a:Lcom/xingbook/group/view/PublishRelativeLayout;

    iget-object v0, v0, Lcom/xingbook/group/view/PublishRelativeLayout;->a:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v1

    const/4 v0, 0x1

    if-ge v1, v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/xingbook/group/view/e;->a:Lcom/xingbook/group/view/PublishRelativeLayout;

    invoke-static {v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->c(Lcom/xingbook/group/view/PublishRelativeLayout;)Landroid/widget/LinearLayout;

    move-result-object v2

    invoke-virtual {p1}, Landroid/view/View;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    check-cast v0, Landroid/view/View;

    invoke-virtual {v2, v0}, Landroid/widget/LinearLayout;->removeView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/xingbook/group/view/e;->a:Lcom/xingbook/group/view/PublishRelativeLayout;

    iget-object v0, v0, Lcom/xingbook/group/view/PublishRelativeLayout;->a:Ljava/util/ArrayList;

    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    const/4 v0, 0x3

    if-ne v1, v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/group/view/e;->a:Lcom/xingbook/group/view/PublishRelativeLayout;

    invoke-static {v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->c(Lcom/xingbook/group/view/PublishRelativeLayout;)Landroid/widget/LinearLayout;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/group/view/e;->a:Lcom/xingbook/group/view/PublishRelativeLayout;

    invoke-static {v1}, Lcom/xingbook/group/view/PublishRelativeLayout;->h(Lcom/xingbook/group/view/PublishRelativeLayout;)Landroid/widget/ImageView;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    goto :goto_0
.end method
